package me.youline.dataServer.entity;

import java.io.Serializable;

/**
 * 用户社交关系统计实体
 * @author linhan
 *
 */
public class UserRelationRecorder implements Serializable{
	
	private static final long serialVersionUID = -5677759002797674183L;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 粉丝数
	 */
	private int followersTotal = 0;

	/**
	 * 关注数
	 */
	private int followingTotal = 0;
	
	/**
	 * 是否推荐
	 */
	private boolean isRecommend = false;
	
	
	public UserRelationRecorder(){}
	
	public UserRelationRecorder(Long userId){
		this.userId = userId;
	}
	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public int getFollowersTotal() {
		return followersTotal;
	}

	public void setFollowersTotal(int followersTotal) {
		this.followersTotal = followersTotal;
	}

	public int getFollowingTotal() {
		return followingTotal;
	}

	public void setFollowingTotal(int followingTotal) {
		this.followingTotal = followingTotal;
	}

	public boolean isRecommend() {
		return isRecommend;
	}

	public void setRecommend(boolean isRecommend) {
		this.isRecommend = isRecommend;
	}
	
}
